package com.tbit.uqbike.client.service;


import com.tbit.uqbike.client.pojo.UserDetail;
import com.tbit.uqbike.client.pojo.dto.UserDetailUpdateDTO;

/**
 * @author <a href="mailto:li.yao@tbit.com.cn">yao</a>
 * @version 4.2.4
 * @since 2024/12/30 15:34
 */
public interface UserDetailService {

    void updateByUserId(UserDetail userDetail);

    void create(UserDetail userDetail);

    UserDetail get(Integer type, Integer userId);

    boolean shouldLogWeight(Integer accountId, Integer machineId);

    void updateWeight(UserDetailUpdateDTO userDetailUpdate);
}
